package com.haierp.service.impl;

import org.springframework.stereotype.Service;

import com.baomidou.framework.service.impl.SuperServiceImpl;
import com.haierp.mapper.ReactVersionMapper;
import com.haierp.model.ReactVersion;
import com.haierp.service.IReactVersionService;

@Service("reactVersionService")
public class ReactVersionServiceImpl extends SuperServiceImpl<ReactVersionMapper, ReactVersion>  implements IReactVersionService {

	private Integer version;

	public Integer getVersion() {
		return version;
	}
	
	public void refreshVersion(){
		version = this.selectById(1).getVersion();
	}

	public void setVersion(Integer version) {
		this.version = version;
	}
	
	
}
